import request from '@/utils/request';
//import requestUpload from '@/utils/requestUpload';

export async function getDictionaryItemByPage(params: any) {
  return request('/api/baseData/getDictionaryItemByPage', {
    method: 'POST',
    data: params,
  });
}

export async function addDictionaryItem(params: any) {
  return request('/api/baseData/addDictionaryItem', {
    method: 'POST',
    data: params,
  });
}

export async function delDictionaryItem(params: any) {
  return request('/api/baseData/delDictionaryItem', {
    method: 'POST',
    data: params,
  });
}

export async function updateDictionaryItem(params: any) {
  return request('/api/baseData/updateDictionaryItem', {
    method: 'POST',
    data: params,
  });
}
